<@compress single_line=true>
<!DOCTYPE HTML>
<html>
  <head>
  <base href="${basePath}">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">

  <title>后台管理员登录</title>

  <!--- CSS --->
  <link rel="stylesheet" href="resources/JS/login/style.css" type="text/css" />
  <script type="text/javascript" src="resources/JSLIB/jquery/jquery-1.7.2.min.js"></script>
  <!--- Javascript libraries (jQuery and Selectivizr) used for the custom checkbox --->
  <!--[if (gte IE 6)&(lte IE 8)]>
    <script type="text/javascript" src="resources/JS/login/selectivizr.js"></script>
    <noscript><link rel="stylesheet" href="resources/JS/login/fallback.css" /></noscript>
  <![endif]-->
  <script type="text/javascript">
    $(document).ready(function(){
        $(":submit[id=submit]").bind("click",function(evt){
            var userId = $(":input[id=userId]").val();
            var password = $(":input[id=password]").val();
            if($.trim(userId) == ""){
                alert("用户名不能为空!");
                $(":input[id=userId]").focus();
                evt.preventDefault();
            } else if($.trim(password) == ""){
                alert("密码不能为空!");
                $(":input[id=password]").focus();
                evt.preventDefault();
            } 
        });  
    });
  </script>
  </head>
  <body>
    <div id="container">
      <form method="POST" action="authenticate/admin" >
        <div class="login">管理员登录</div>
        <div class="username-text">用户名:</div>
        <div class="password-text">密码:</div>
        <div class="username-field">
          <input type="text" value="admin" readonly="readonly">
          <input type="hidden" name="userId" id="userId" value="0xfffffffffffffff000000000000000">
        </div>
        <div class="password-field">
          <input type="password" name="password" id="password" />
        </div>
        <input type="checkbox" name="remeberMe" id="remember-me" /><label for="remember-me">Remember me</label>
        <div class="forgot-usr-pwd"></div>
        <input type="submit" id="submit" value="GO" style="cursor:pointer;" />
      </form>
    </div>
    <div id="footer" style="color: red;font-weight: bolder;">
      ${errorMsg!""}
    </div>
  </body>
</html>
</@compress>